package kotlinlearn

class Student(private val sno: String, private val grade: Int, name: String, age: Int)
    : Person(name, age), Study {
    init {
        println("sno is $sno")
        println("grade is $grade")
    }

    override fun doSomething() {
        println("$name is reading.")
    }

    override fun doHomeWork() {
        println("$name is doing homework.")
    }
}